<?php
/**
 * Created by : PhpStorm
 * User: DuFei
 * Date: 2020/7/30
 * Time: 15:46
 */

namespace app\models\request;

use yii\base\Model;

class ReqRoleList extends Model
{
    private $pageNum=1;
    private $pageSize;

    /**
     * @return mixed
     */
    public function getPageNum()
    {
        return $this->pageNum;
    }

    /**
     * @param mixed $pageNum
     */
    public function setPageNum($pageNum)
    {
        $this->pageNum = $pageNum;
    }

    /**
     * @return mixed
     */
    public function getPageSize()
    {
        return $this->pageSize;
    }

    /**
     * @param mixed $pageSize
     */
    public function setPageSize($pageSize)
    {
        $this->pageSize = $pageSize;
    }

    public function rules()
    {
        return [
            [[ 'pageSize'], 'required'],
            [["pageNum"],"safe"]
        ];
    }


}
